<?php
/**
 * 	Bushido
 *
 * @category   Bushido
 * @package    Bushido_Dojo
 * @copyright  Copyright (c) 2008-2009 Nathan Keyes
 * @author Nathan Keyes
 * @version    $Id: Dojo.php 7 2009-11-14 22:42:08Z nkeyes $
 */

/**
 * 
 * @author Nathan Keyes
 *
 */
class Bushido_Dojo extends Zend_Dojo
{

    /**
     * Dojo-enable a view instance
     * 
     * @param  Zend_View_Interface $view 
     * @return void
     */
    public static function enableView(Zend_View_Interface $view)
    {
        if (false === $view->getPluginLoader('helper')->getPaths('Bushido_Dojo_View_Helper')) {
            $view->addHelperPath('Bushido/Dojo/View/Helper', 'Bushido_Dojo_View_Helper');
        }
    }
}

